home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 October: Mac OS SDK / Dev.CD Oct 97 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Universal / Interfaces / CIncludes / OSAComp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-08-12  |  1.8 KB  |  89 lines  |  [TEXT/MPS ]

  1. /*
  2.      File:        OSAComp.h
  3.  
  4.      Contains:    AppleScript Component Implementor's Interfaces.
  5.  
  6.      Version:    Technology:    AppleScript 1.1
  7.                  Release:    Universal Interfaces 3.0.1
  8.  
  9.      Copyright:    © 1992-1997, 1997 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        Please include the the file and version information (from above) with
  12.                  the problem description.  Developers belonging to one of the Apple
  13.                  developer programs can submit bug reports to:
  14.  
  15.                      devsupport@apple.com
  16.  
  17. */
  18. #ifndef __OSACOMP__
  19. #define __OSACOMP__
  20.  
  21. #ifndef __TYPES__
  22. #include <Types.h>
  23. #endif
  24. #ifndef __AEDATAMODEL__
  25. #include <AEDataModel.h>
  26. #endif
  27.  
  28.  
  29.  
  30. #if PRAGMA_ONCE
  31. #pragma once
  32. #endif
  33.  
  34. #ifdef __cplusplus
  35. extern "C" {
  36. #endif
  37.  
  38. #if PRAGMA_IMPORT
  39. #pragma import on
  40. #endif
  41.  
  42. #if PRAGMA_STRUCT_ALIGN
  43.     #pragma options align=mac68k
  44. #elif PRAGMA_STRUCT_PACKPUSH
  45.     #pragma pack(push, 2)
  46. #elif PRAGMA_STRUCT_PACK
  47.     #pragma pack(2)
  48. #endif
  49.  
  50. /**************************************************************************
  51.     Types and Constants
  52. **************************************************************************/
  53. /**************************************************************************
  54.     Routines for Associating a Storage Type with a Script Data Handle 
  55. **************************************************************************/
  56. EXTERN_API( OSErr )
  57. OSAGetStorageType                (Handle                 scriptData,
  58.                                  DescType *                dscType);
  59.  
  60. EXTERN_API( OSErr )
  61. OSAAddStorageType                (Handle                 scriptData,
  62.                                  DescType                 dscType);
  63.  
  64. EXTERN_API( OSErr )
  65. OSARemoveStorageType            (Handle                 scriptData);
  66.  
  67.  
  68.  
  69. #if PRAGMA_STRUCT_ALIGN
  70.     #pragma options align=reset
  71. #elif PRAGMA_STRUCT_PACKPUSH
  72.     #pragma pack(pop)
  73. #elif PRAGMA_STRUCT_PACK
  74.     #pragma pack()
  75. #endif
  76.  
  77. #ifdef PRAGMA_IMPORT_OFF
  78. #pragma import off
  79. #elif PRAGMA_IMPORT
  80. #pragma import reset
  81. #endif
  82.  
  83. #ifdef __cplusplus
  84. }
  85. #endif
  86.  
  87. #endif /* __OSACOMP__ */
  88.  
  89.